﻿<UserControl xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:controlsToolkit="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Toolkit" x:Class="HelfenHelfen.RIA.MainPage"
    d:DesignHeight="300" d:DesignWidth="400" Height="1017" mc:Ignorable="d" MinWidth="1159" Width="1159">

    <Grid x:Name="LayoutRoot">
    	<Grid.Background>
    		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
    			<GradientStop Color="#FFCBCBCB" Offset="0"/>
    			<GradientStop Color="White" Offset="1"/>
    		</LinearGradientBrush>
    	</Grid.Background>

		<Image Height="131" Source="Assets/shine.png" Stretch="Fill" VerticalAlignment="Top"/>

    	<Grid HorizontalAlignment="Center" VerticalAlignment="Top" Height="877" Margin="0,40,0,0">
    		<Grid.RowDefinitions>
    			<RowDefinition Height="29"/>
    			<RowDefinition Height="790"/>
    			<RowDefinition/>
    		</Grid.RowDefinitions>
    		<Grid.ColumnDefinitions>
    			<ColumnDefinition Width="0.164*"/>
    			<ColumnDefinition Width="0.836*"/>
    		</Grid.ColumnDefinitions>
    		<Image Source="Assets/bg.png" Stretch="Fill" Width="1000" Height="877" Grid.ColumnSpan="2" HorizontalAlignment="Left" VerticalAlignment="Top" Grid.RowSpan="3"/>

    		<sdk:Frame x:Name="MainNavigationFrame" Width="720" 
                       Margin="10,78,162,300" Grid.Row="1" Grid.Column="1">
    			<sdk:Frame.UriMapper>
    				<sdk:UriMapper>
    					<sdk:UriMapping Uri="" MappedUri="/Views/Home.xaml" />
    					<sdk:UriMapping Uri="/{pageName}" MappedUri="/Views/{pageName}.xaml" />
    				</sdk:UriMapper>
    			</sdk:Frame.UriMapper>
    		</sdk:Frame>

    		<controlsToolkit:HeaderedContentControl Margin="19,122,4,0" 
    			Grid.Row="1" VerticalAlignment="Top" 
    			Header="Navigation" Style="{StaticResource MenuHeaderedContentControl}" d:LayoutOverrides="GridBox">
    			<StackPanel>
                    <HyperlinkButton Content="Start &gt;" NavigateUri="/Home" TargetName="MainNavigationFrame" FontWeight="Normal" Foreground="White" FontSize="14" />
                    <HyperlinkButton Content="Anforderungen &gt;" 
                                     NavigateUri="/DemandList" TargetName="MainNavigationFrame" Foreground="White" FontSize="14" Margin="0,10,0,0" />
    			</StackPanel>
    		</controlsToolkit:HeaderedContentControl>

    	</Grid>
	</Grid>
</UserControl>
